home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
139
/
139.xpi
/
chrome
/
imagezoom.jar
/
content
/
overlay_firefox.xul
< prev
next >
Wrap
Extensible Markup Language
|
2010-01-04
|
8KB
|
235 lines
<?xml version="1.0"?>
<!-- ***** BEGIN LICENSE BLOCK *****
Copyright (c) 2006-2010 Jason Adams <imagezoom@yellowgorilla.net>
This file is part of Image Zoom.
Image Zoom is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
Image Zoom is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Image Zoom; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
***** END LICENSE BLOCK ***** -->
<!DOCTYPE overlay SYSTEM "chrome://net.yellowgorilla.imagezoom/locale/imageZoom.dtd">
<overlay id="net.yellowgorilla.imagezoom.overlay_firefox"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/x-javascript" src="chrome://net.yellowgorilla.imagezoom/content/overlay.js"/>
<script type="application/x-javascript" src="chrome://net.yellowgorilla.imagezoom/content/globals.js"/>
<stringbundleset id="stringbundleset">
<stringbundle id="net.yellowgorilla.imagezoom.stringbundle" src="chrome://net.yellowgorilla.imagezoom/locale/imageZoom.properties"/>
</stringbundleset>
<popup id="contentAreaContextMenu">
<menuitem id="context-zoom-zin"
label="&iz.menu.context.increase.label;"
accesskey="&iz.menu.context.increase.accesskey;"
oncommand="net.yellowgorilla.imagezoom.overlay.izZoomIn();"
insertbefore="context-sep-copyimage"
hidden="true"
/>
<menuitem id="context-zoom-zreset"
label="&iz.menu.context.reset.label;"
accesskey="&iz.menu.context.reset.accesskey;"
insertbefore="context-sep-copyimage"
oncommand="net.yellowgorilla.imagezoom.overlay.izSetZoom(100);"
hidden="true"
/>
<menuitem id="context-zoom-zout"
label="&iz.menu.context.decrease.label;"
accesskey="&iz.menu.context.decrease.accesskey;"
insertbefore="context-sep-copyimage"
oncommand="net.yellowgorilla.imagezoom.overlay.izZoomOut();"
hidden="true"
/>
<menuitem id="context-zoom-zcustom"
label="&iz.menu.context.customzoom.label;"
insertbefore="context-sep-copyimage"
oncommand="net.yellowgorilla.imagezoom.overlay.izShowCustomZoom();"
hidden="true"
/>
<menuitem id="context-zoom-dcustom"
label="&iz.menu.context.customdim.label;"
insertbefore="context-sep-copyimage"
oncommand="net.yellowgorilla.imagezoom.overlay.izShowCustomDim();"
hidden="true"
/>
<menuitem id="context-zoom-fit"
label="&iz.menu.context.imagefit.label;"
insertbefore="context-sep-copyimage"
oncommand="net.yellowgorilla.imagezoom.overlay.izImageFit();"
hidden="true"
/>
<menuitem id="context-zoom-rotate-right"
label="&iz.menu.context.imagerotateright.label;"
insertbefore="context-sep-copyimage"
oncommand="net.yellowgorilla.imagezoom.overlay.izRotateRight();"
hidden="true"
/>
<menuitem id="context-zoom-rotate-left"
label="&iz.menu.context.imagerotateleft.label;"
insertbefore="context-sep-copyimage"
oncommand="net.yellowgorilla.imagezoom.overlay.izRotateLeft();"
hidden="true"
/>
<menuitem id="context-zoom-rotate-180"
label="&iz.menu.context.imagerotate180.label;"
insertbefore="context-sep-copyimage"
oncommand="net.yellowgorilla.imagezoom.overlay.izRotate180();"
hidden="true"
/>
<menuitem id="context-zoom-rotate-reset"
label="&iz.menu.context.imagerotatereset.label;"
insertbefore="context-sep-copyimage"
oncommand="net.yellowgorilla.imagezoom.overlay.izRotateReset();"
hidden="true"
/>
<menu id="context-zoomsub"
label="&iz.menu.context.zoomimage.label;"
accesskey="&iz.menu.context.zoomimage.accesskey;"
insertbefore="context-sep-copyimage"
hidden="true"
>
<menupopup id="zoompopup">
<menuitem id="zoomsub-zin"
label="&iz.menu.context.increase.label;"
accesskey="&iz.menu.context.increase.accesskey;"
oncommand="net.yellowgorilla.imagezoom.overlay.izZoomIn();"
hidden="true"
/>
<menuitem id="zoomsub-zreset"
label="&iz.menu.context.reset.label;"
accesskey="&iz.menu.context.reset.accesskey;"
oncommand="net.yellowgorilla.imagezoom.overlay.izSetZoom(100);"
hidden="true"
/>
<menuitem id="zoomsub-zout"
label="&iz.menu.context.decrease.label;"
accesskey="&iz.menu.context.decrease.accesskey;"
oncommand="net.yellowgorilla.imagezoom.overlay.izZoomOut();"
hidden="true"
/>
<menuseparator id="zoomsub-s1"
hidden="true"
/>
<menuitem id="zoomsub-zcustom"
label="&iz.menu.context.customzoom.label;"
oncommand="net.yellowgorilla.imagezoom.overlay.izShowCustomZoom();"
hidden="true"
/>
<menuitem id="zoomsub-dcustom"
label="&iz.menu.context.customdim.label;"
oncommand="net.yellowgorilla.imagezoom.overlay.izShowCustomDim();"
hidden="true"
/>
<menuseparator id="zoomsub-s2"
hidden="true"
/>
<menuitem id="zoomsub-fit"
label="&iz.menu.context.imagefit.label;"
oncommand="net.yellowgorilla.imagezoom.overlay.izImageFit();"
hidden="true"
/>
<menuseparator id="zoomsub-s3"
hidden="true"
/>
<menuitem id="zoomsub-z400"
label="400%"
oncommand="net.yellowgorilla.imagezoom.overlay.izSetZoom(400);"
hidden="true"
/>
<menuitem id="zoomsub-z200"
label="200%"
oncommand="net.yellowgorilla.imagezoom.overlay.izSetZoom(200);"
hidden="true"
/>
<menuitem id="zoomsub-z150"
label="150%"
oncommand="net.yellowgorilla.imagezoom.overlay.izSetZoom(150);"
hidden="true"
/>
<menuitem id="zoomsub-z125"
label="125%"
oncommand="net.yellowgorilla.imagezoom.overlay.izSetZoom(125);"
hidden="true"
/>
<menuseparator id="zoomsub-s4"
hidden="true"
/>
<menuitem id="zoomsub-z100"
label="100%"
oncommand="net.yellowgorilla.imagezoom.overlay.izSetZoom(100);"
hidden="true"
/>
<menuseparator id="zoomsub-s5"
hidden="true"
/>
<menuitem id="zoomsub-z75"
label="75%"
oncommand="net.yellowgorilla.imagezoom.overlay.izSetZoom(75);"
hidden="true"
/>
<menuitem id="zoomsub-z50"
label="50%"
oncommand="net.yellowgorilla.imagezoom.overlay.izSetZoom(50);"
hidden="true"
/>
<menuitem id="zoomsub-z25"
label="25%"
oncommand="net.yellowgorilla.imagezoom.overlay.izSetZoom(25);"
hidden="true"
/>
<menuitem id="zoomsub-z10"
label="10%"
oncommand="net.yellowgorilla.imagezoom.overlay.izSetZoom(10);"
hidden="true"
/>
</menupopup>
</menu>
<menu id="context-rotatesub"
label="&iz.menu.context.rotateimage.label;"
accesskey="&iz.menu.context.rotateimage.accesskey;"
insertbefore="context-sep-copyimage"
hidden="true"
>
<menupopup id="rotatepopup">
<menuitem id="rotatesub-rotate-right"
label="&iz.menu.context.imagerotateright.label;"
accesskey="&iz.menu.context.rotate.right.accesskey;"
oncommand="net.yellowgorilla.imagezoom.overlay.izRotateRight();"
hidden="true"
/>
<menuitem id="rotatesub-rotate-left"
label="&iz.menu.context.imagerotateleft.label;"
accesskey="&iz.menu.context.rotate.left.accesskey;"
oncommand="net.yellowgorilla.imagezoom.overlay.izRotateLeft();"
hidden="true"
/>
<menuitem id="rotatesub-rotate-180"
label="&iz.menu.context.imagerotate180.label;"
accesskey="&iz.menu.context.rotate.180.accesskey;"
oncommand="net.yellowgorilla.imagezoom.overlay.izRotate180();"
hidden="true"
/>
<menuitem id="rotatesub-rotate-reset"
label="&iz.menu.context.imagerotatereset.label;"
accesskey="&iz.menu.context.rotate.reset.accesskey;"
oncommand="net.yellowgorilla.imagezoom.overlay.izRotateReset();"
hidden="true"
/>
</menupopup>
</menu>
</popup>
</overlay>